Move the mimetypemap to config (as discussed previously), which also eliminates the need to translate the dots.