Improved HttpRequest /tmp dir handling slightly