core: export extract_filters/3 for testing.
core: fix a problem where a combination of an image filter and a mediaclass containing lossless results in a failed checksum check.