Improve clearQnapyTmp script