Fixed bug where FTP sync would hang if remote file had zero bytes.  Also fixed bug that would cause parsing (and server) to crash if log units were not recognized in log file.