tweak FileBlob line iteration to cope with missing newlines at the ends of files, fixes #394