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