dafc861554
ebuild environment setup function for pkg_{prerm,postrm} can raise
OSError during os.makedirs(). Better catch it and handle the failure
nicely so that the user can take proper measures to fix it, instead
of completely bailing out with garbageish text.