Polyfill for file uploads
Merge pull request #967 from gannetson/more-crazy-fixes

Polyfill for file uploads