Write pid to file in windows