Add patches to deal with maliciously crafted file systems.