[excel][s]: move import tempfile.mkstemp down into from_fileobj block (only place it is used).

Use of tempfile.mkstemp causes problems on e.g. GAE