pub fn locked_write_line(path: impl AsRef<Path>, line: &String) -> Result<()>
Writes a line in an exclusive locked file.