Use Unix newlines
Fix license and file headers