Import read/write lock from Strata.

Closes #7.

File                             Raw         Min         Zip     Min/Zip
index.js                   674/00.66   416/00.41   264/00.26   214/00.21