print-db tool fix for Windows