Use WordPress API for finding the 404 template.