Correctly set Content-Length when using Ruby 1.9.
Merge pull request #93 from mikedouglas/master

Correctly set Content-Length when using Ruby 1.9
Merge branch 'master' of github.com:avakar/toto into flatdirs