ruby-2.0.0p0 compatability

Ruby 2.0.0p0 changed how Net::FTP closes sockets; this branch adds a test that shows the problem, and a patch to fix it.

There is also a patch for git to ignore emacs backup files (optional), and one to remove tabs and clean up indentation in the spec (also optional).