Use directory iterator while zipping a backup

Fixes #48