update license header and encoding of files