Fix fail with remote_file_deploy the first time a file is downloaded
Fix to work with old and new version of the chef-client