pub fn file_open_tmp(
    tmpl: Option<impl AsRef<Path>>
) -> Result<(i32, PathBuf), Error>