Simplify the directory/file sync loop, clean up a few cases where we
were ignoring error returns.
Merge pull request #1348 from wiredtiger/directory-sync-log-files-loop

Simplify the directory/file sync loop