Use MemoryStreamCreator on Unix-like OS