make-file: Pass O_BINARY or O_TEXT to open() call in replace_file_start().