Don't truncate HTML file content in full-text sync

Also write a cache file for HTML files at index time