add CR at end of file