266dca118f
- Converted `file_type_from_dtype` and `file_type_from_mode` into const functions. - Removed the unused `OsStringExt` import.