Makes filenames rcm compatible