modified execute_tmpfile for removing temp files after complete on win32, see http://usrbinruby.net/ruby-general/2006-12/msg04253.html and http://www.rubyist.net/~rubikitch/archive/xmpfilter.rb