pub fn expand_tilde(s: &str) -> String