pub fn open_nonblocking(path: &Path) -> Result<File>
Open for reading without blocking on a FIFO, so its type can be checked first.