pub fn normalise_dir(input: &str) -> Result<PathBuf>
Turn user input into an absolute, usable directory: expand ~, resolve relative paths against the working directory, and create it if needed.
~