Mac version of https://github.com/otternq/RandomName