BeakFile: Encode with new-line