displaying better error message if user tries to upload a file in an unsupported format
fixed broken format call
Merge pull request #259 from shatterednirvana/validate-file-is-tgz-or-dir

displaying better error message if user tries to upload a file in an unsupported format