pub fn stem_basename(p: &str) -> String
os.path.splitext(os.path.basename(p))[0].
os.path.splitext(os.path.basename(p))[0]