fix for add_attributes typo
message about masked variables notbeing added to the file
fixed some problems related to fill_value