Fixed file cleanup

I have replaced all the calls to system with IO.popen
RadCalc 1.2.1

Fixed issues with files cleanup