Close GH-51: Fix special characters creating invalid file name.