For two of the unstable integration tests that involve file handle deletes, prevent race conditions with the PreviewWorker
Merge pull request #930 from kaysoky/PreviewDeleteRaceCondition

Fix integration test cleanup race conditions