[PATCH] rpm: ensure we own directories we might create