abuild: add an option to keep all directories
This is mainly needed for alpine-baselayout which creates all directories, and most of them are empty. The code in question would remove directories we explicitly want alpine-baselayout to create and own.