Use the log sync setting to decide whether to sync the directory on log file creation

(Previously, the checkpoint_sync setting caused a directory sync on log file creation, which doesn't make much sense).