Added logging to postinstall, using mkdirp instead of home grown mkdir function, upped version