NXP-15482: fix lifecycle of cache directory for caching binary manager (S3)