Added "#" to the list of characters that are illegal in file names.