Fixes export with no saved file