make sure we use the right lock file and flock command