Raise for non-200 responses during file exports

File content comes in the same place where error
messages usually come. Therefore, to alert the user
that bad things happened, project.export_file will
raise a requests.exceptions.HTTPError for non-200
responses