fixes content-type of object when creating

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>