message: Attempt to fix bug surfacing sometimes in test.
  Recently, `test_index_manual_policy_mmap` has been failing on Windows.
  The idea addressed by this patch is that we forget to sync the parent
  directory with the current implementation of atomic writes.
  This was done correctly when we were relying the atomicwrites crate.
  *crossing fingers*
diff: @@ -449,7 +449,8 @@ impl Directory for MmapDirectory {
  fn atomic_write(&self, path: &Path, content: &[u8]) -> io::Result<()> {
  debug!("Atomic Write {:?}", path);
  let full_path = self.resolve_path(path);
  - atomic_write(&full_path, content)
  + atomic_write(&full_path, content)?;
  + self.sync_directory()
  }
  fn acquire_lock(&self, lock: &Lock) -> Result<DirectoryLock, LockError> {
  