Fix file validation for importer

refs #3339
- wrong call to file validation
- refs the issue because I get application/json on OSX? Is this
something Windows specific?
Merge pull request #3340 from sebgie/issue#3339

Fix file validation for importer