Remove what appears to be redundant indirection from
os::list_dir_path.
auto merge of #7942 : Dretch/rust/os-listdir-path-no-squiggle, r=brson