Check params_size for the proper module.

This is a regression introduced in 1f9e0b and c04c61. The consequence is
that the params_size called was the default one. And a size mismatch was
always detected which in turns triggered the deletion of the export preset.

Quite high priority fix as on Git master export presets are deleted as soon as they
are used. Please review and let me know if I can merge if this looks correct to you. Thanks.