Store matrix coefficients in the file cache (thanks, @taconaut!)