Don't use in.header(0) unless you have a good reason

For image size and channels we get information from the
ImfHybridInputFile.