fixes issue with file input widgets in FF (and possibly other browsers that don't support the Filesystem API), closes #323