Initialize sync_dir_lsn to zero, not one. #1343
Keep an open file handle on the log directory. #1343