Fixes bug on windows around the new store locker, where the store lock will be attempted to be grabbed twice.

Locks are now grabbed only on store_lock file on windows
Adjusts TestOsSpecificLocks accordingly
Makes the new line character non platform specific, fixes windows failures