vtype: added ability to write to list files.
file: forgot to close stream on read.
file: list files can now be written to.