This factory method requires a 2nd parameter, 'wb' should be okay.