debug info on WriteFile