Bug 1051833 - PathUtils.flock() not removing lock file

* Remove all other orphaned lock files
Merge pull request #4467 from jwhonce/bug/1051833

Merged by openshift-bot