Fix NPE in crawler when a file has an invalid header

Fix for a bug found by @lefou: if a page has an incorrect header, JBake fails with an NPE. With this patch, it now logs a warning.