rework SD controller emulation to work with Input- and OutputStreams (no longer load the image into a byte array)