I have done some more testing and confirmed that this looks like a
legit problem. When I direct the browser to load myapp/mycontroller/
index.load and pick a file to upload from the upload file form, it
gets uploaded and submitted properly to myapp. However, when the
submission occurs when running the controller as a component, I get
the "enter a valid filename" error. Indications are the controller
sees no file being uploaded. As I said before, the file upload form is
part of a page/component that has 2 forms on it. I don't know if that
makes any difference or not.