Looks like setContentStream expects a string