Added code to untaint lockfiles