Fix create db file failed under windows