Revert e5c640ca and instead introduce restrictions on the use of vcedit_open() and vcedit_write(), which allow vcedit_write() to be simplified. This is to address #8.
vcedit_open()
vcedit_write()