Fixed an issue where writing a remote file would not always work
Merge branch 'vanilla_improvements' into datacratic_dev