Fix: Rest#put use file descriptor or pure binary
Fix: Rest#put use file descriptor or pure binary

In some cases when the input string is a large binary,
which is stupid to test it's a file path or not

upyun/ruby-sdk,zhzenghui/ruby-sdk