force open-uri to create tempfile