Fix post.cgi.

StringIO#path is removed on Ruby 1.9 or later.
Merge pull request #14 from chiro/fix-post

Fix post.cgi.