Fix firefox file uploads