Fix htmlzip path, and add filename/type tests