Using batch properly in drush scripts - 3.12.

@amitaibu @rbran100