pget: fixed for use-temp-name=yes