shouldn't use binary mode because some ruby's tests fail.