Created directory in case it doesn't exist.