Changed chmod call for windows compatibility
Merge pull request #34 from bogdanteleaga/chmod-windows

Changed chmod call for windows compatibility
Fixed path joins in lockfile names