pub(crate) fn write_file_header(stream: &mut FileEncoder, nightly_build: bool)