Fix incomplete lines in split_logfile to rewind to the begining of the line. Thanks to brunomgalmeida for the patch.