Fixed writing relative file name when using a separate header.
Merge pull request #7 from jaspervdg/master

Fixed writing relative file name when using a separate header.