Add exist_ok=True to makedirs

Suppress exception raised by makedirs when the target directory already
exists.