Ruby 1.9

This set of changes makes feed2imap work with Ruby 1.9

As a side effect I think I also fixed the support for maildirs. :-)