fn expand_home(path: &str, home: Option<&Path>) -> PathBuf
~ / ~/x resolved under home; anything else unchanged.
~
~/x
home