Primitive support for file uploads with HTML5 File API.