we we use this method in two places: 

1) deploy.engine
2) vmprovider.provider


So could you add this in our rally.utils as a method with :param dirrectory_path: ?