Make filenames of certain type consistent.