SANTUARIO-444 - Signing of big XMLs fails on Windows 8/10 using smart cards. Thanks to Adrian Greiler for the patch