Fixed writing relative file name when using a separate header.