Make sure directory exists.