sudo the rmdir on pkg uninstall

fixes an issue we've hit where chmod 777 is insufficient to allow
Pathname#rmdir to work properly.

refs #1374
Merge pull request #1427 from phinze/1374-fix-uninstall-permissions

sudo the rmdir on pkg uninstall