The prosecutor who filed charges against James and former FBI Director James Comey was unlawfully appointed, a judge ruled.