Exporters: raise errors if output files cannot be opened.