Normalize file and directory names