Crudely patch around the deprecation of Mozilla's Components object.

This is my attempt to patch #3. I do not offer this as a good solution. View this as a conversation starter. Some cases I just throw an exception in and I did not patch `sftp_client.js` at all.