fixed file uploads in the edit view in supported browsers, closes #329