Add windows support

Hi,

I've added some support for windows (Sorry python is not my first language :-)

It ensure that the process is run in the background and uses internal function to do the local copy.

Rolf