Fix sqlite on FS without proper locking mechanism