changes to pvssocket server to use promises for writing files.
removed util.log