(PUP-1044) Fix missing file mode in call to file system open

The mode 'nil' was accidentally dropped in the call to open the
file to get a stream. This caused 9 tests to fail.