Wrapping usage of ImageIO in an actor, as it ain't thread-safe