pub fn open_regular(path: &Path) -> Result<File>
Open an existing regular file for reading without following a link in its last component (on Windows, any reparse point), and check what was opened.