Fixes #4694: RPM postinst fails on all systems due to missing directories - but do mkdir them first