Recursively replace spaces with underscores in file and directory names.