Correctly normalize absolute paths so locking works on windows

- [x] Depends on https://github.com/owncloud/core/commit/0ab973a3a6ba9c0c98f7414fa620c72bc356e286 from owncloud/core#12218