Workaround for file input in Safari.