gh-81: Adds further boilerplate to expose flock to module.exports.