Fix types in obspy-mopad gmt command.

Apparently, NumPy want io.BytesIO, whether on 2.x or 3.x, so this is
pretty easy to fix.