Sanitize filepaths for RepoStatistics