standardize file headers and utf-8 fixes