Prevent special character filenames in subdirectories