Now in a small repo at github.com/camlistore/lock and brought into our third_party. Change-Id: I966ca6126dde8b7c2e03f0d9fab1e36abd66c2ef