fix windows compabilit: use copy instead move for tmp directory
chmod after unpack