Converting hashes to lowercase for directory names