fix filesystem race condition that could have allowed an unprivileged user to make us download from arbitrary URIs
fix filesystem race condition that could have allowed an unprivileged user to make us download from arbitrary URIs

rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir