bugzid:15577 - handle file uploads correctly
Merge pull request #17 from sailthru/bug-15577

bugzid:15577 - handle file uploads correctly