Custom error handler to dish out the 404 template