pub fn convert_file_open_option_to_mode(option: FileOpenOption) -> FileOpenMode