Fixes problem when lbl.txt does not end with newline.