Close the sync journal if a folder gets removed.

This fixes bug #1252