catch URLError and return 400
Merge pull request #1539 from dimagi/excel_unsupported_500

catch URLError and return 400