Awesome. Sorry for the C-like Lua... I've never read or written Lua before and couldn't be bothered to read a tutorial :)
Also it looks like you beat me to a backward compatibility shim. Perhaps we should shove the version number into a metadata file such as `foo__record/_version.txt`.