Replace deprecated IOString with IOBuffer.

IOString was removed from the Julia interpreter in commit ba71cc8.