Fixed cleaning up incompatible stores not working when WAL is being used

Cleaning up an incompatible store didn't work when WAL was enabled. There were 2 sidecar files that weren't removed and caused the next run to crash.

This change deletes the sidecar when it's deleting the main sqlite file.