Wrap create_directory calls in try...catch blocks.

Ignores any exceptions throw if exists, otherwise re-throws exception.