added file type selection for export_uv_masks.py