core/fsFileSource: fix database lock caused by generator use alongside updates on same table