Create directory prior to using it.