Pygments can be very slow on large files (about 1 second per 128K). When loggerhead would try to highlight enormous files, it would slow to a crawl, causing it to effectively hang. So here, we make it only highlight files if they are smaller than 512K.