pub fn lock_dir(mana_dir: &Path) -> Result<PathBuf, Error>
Return the locks directory, creating it if needed.