fix hardcoded compress and validate values in `fs` module
fs was using hardcoded COMPRESS and VALIDATE, now it uses values passed by the caller 
thanks @n.dissoubray 
fs was using hardcoded COMPRESS and VALIDATE, now it uses values passed by the caller 
thanks @n.dissoubray