red-brick: Add stdio configuration to program object API