Refactor handling of .htm and .hta file extensions

Taking advantage of the recent change to be able to pass an array of
file extensions to `$tw.utils.registerFileType()`