plugin purgefile, windows part fix