Fixed a bug where the VW function was ignoring namespaces and case weights when writing files

Whoops!