Change the signature to ```def save(cubes, filename, netcdf_format='NETCDF4'):``` and see following comment on line +760.