Fix test suite for Boto on PY3, which only supports tempfile.NamedTemporaryFile and not tempfile.TemporaryFile