diff-mode is able to better handle file headers