Replaced the tempfile.mkstemp with relax_io.DummyFileObject in the prompt unit tests.
The tempfile.mkstemp() only creates a string, whereas a file object is required.
Authored by: bugman 2011-09-20
Parent: [r14712]
Child: [r14714]