transformWrite fix. Refer
https://github.com/CollectionFS/Meteor-CollectionFS/issues/335