CLOUDIFY-2022 add support for putting strings into file with non existing directory for the remote runner + test