replace POpen4 with a Tempfile - thus making it compatible with JRuby (tested on Linux with JRuby 1.6.0)
and we do not need the transfer method anymore ...
make sure Tempfile gets deleted/unlinked
Merge remote-tracking branch 'kares/master'

Conflicts:
	README.rdoc
add windows compatibility

tested with the following environments:
* jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on OpenJDK 64-Bit Server VM 1.7.0_21-b02 [linux-amd64]
* jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) Client VM 1.7.0_21-b11 [Windows XP-x86]
* rubinius 2.0.0rc1 (1.8.7 release 2012-11-02 JI) [x86_64-unknown-linux-gnu]
* ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2011.03
* ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02
* ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]
* ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
* ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
* ruby 1.9.3p429 (2013-05-15) [i386-mingw32]
* ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
* ruby 2.0.0p247 (2013-06-27) [i386-mingw32]