Removed a Dir.chdir from `self.export`