Use ioutil.TempDir to create temporary directory (#123) Rather than hand coding the temporary directory creation logic, use ioutil.TempDir with its own (seeded) random number generator independent of the math/rand default PRNG, so it doesn't suffer from trying a predictable and limited sequence of temporary directory names. Fixes #45.