Changes slightly the locking strategy of the StoreLocker so it works on windows too as expected

Instead of locking on the neostore we now grab locks only on store_lock file on windows. That allows
 only one lock to be grabbed, on the lock file, and still work with older versions.
This also fixes a couple of failing tests on windows builds.