Fix windows bug that prevented deleting of input file (cherry picked from commit e6aa754)
Fix windows bug that prevented deleting of input file
(cherry picked from commit e6aa754)

st3sch/whycc,st3sch/whycc