Add missing copyright headers and newline at eof