making meegpipe decompress correctly and remove folders on unix