Improving VLCD robustness. Implementing VLCD::write() for performance.