Remove race condition from log folder create.

It is better to ask for forgiveness than permission. It should be noted that
Python 3's os.makedirs has a flag for this.