Rt-client 0.4 bug for uploading attachments

Today I found a bug in rt-client when trying to programmatically
create a ticket. Uploaded binary files were corrupted. In fact the
two last bytes were missing. The bug is in client.rb.
Sorry, I just closed my VM but it is towards the end of the file at
the line including:

body << File.read(v)

An empty line should be added just after the file content. Here is my fix:

body << File.read(v)
body << “\r\n”

Cheers,
Thierry Thelliez