changed delete_dir back to delete_folder

legacy support, no reason for the change anyway