pub fn render_dir(path: &Path, config: &LsConfig) -> Result<String>
Render full ls_dir output to a String (for testing).