Modifications to the DummyFileObject class to better act as a file object.
Authored by: bugman 2008-06-28
Parent: [r6514]
Child: [r6516]