ensure the filename is defined otherwise return 404, resolves #1047
pep8 cleanup
import image_urls_for_form from utils.viewer_tools
pep8 cleanup
Merge pull request #1062 from modilabs/fix-export-view

Return 404 if export file does not exist - closes #1047