Pear directory cleanup