Create MongoDB data directory if not exists.