fix mime type for text/html and process .. in archive