add encoding utf-8 to the first line