avoid duplicate slashes in file paths
neuter strings before making titles of them