make it work for all non-blob types

This is a bit more wideranging - now compress and uncompress are no-ops on non-blob data.