pub(crate) fn guess_msgtype_from_suffix(path: &Path) -> Option<(Viewtype, &str)>