bpo-1613500: Don't hardcode output file mode in fileinput.FileInput (GH-12986)

3 files changed