address #296 - create lock dir automagically