windows fix: auto create data dir if not exists