Fixes issue #71

This fixes issue https://github.com/JangoSteve/remotipart/issues/71, but I'd like to know if it is ok for other types of data (JSON etc.) too.