enhance recursive delete api, by default the parent directory is not deleted
by default use the best compression when creating archives