IO::String - emulate file interface for in-core strings