Use binary reading mode, to avoid possible complications on Windows.