Hopefully fixed error when mapping to uppercase filenames