remove hidden unicode char at beg of file, also add missing newline at end