Make jarPatches accept only specific file types.