Ignore build directories.
Remove existing headers before adding a new one.
Modify add_header_to_file so that hashbangs are kept on the first line of any files being edited.