Remove duplication in Jamie::ChefDataUploader.