Use actual file stream for DATA when possible. See #873.