[Process] Fix #9343 : revert file handle usage on Windows platform