Auto-apply file extension on export