a small bug in pipe/addcomment

use utility.path_expand instead of os.path.expanduser