Improved the random folder generator, and made sure 'bootleg.tmp' didn't have unnecessary newlines.