Internal Documents Show How Close the FBI Came to Deploying Spyware