Fixed up the path spec and filename in the header blocks