Fix cloud mask calculation with new file formats.