File uploads with # characters in the file name produce XML errors