X509: make decoders use upload file first if available