Assume HTML if strlen($html) > max path length.

Fixes warning:

> file_exists(): File name is longer than the maximum allowed path length on this platform (4096): ...