`mode` argument for FileOutput avoids code replication in BinaryFileOutput.