fixed file IO for sparse grids on AMOS -- errant static variable