Fix up HSSTokenizer.

Files are now read using the correct encoding and with Unicode codec
auto-detection. Line numbers are also calculated correctly now.