fix bug#7 https://github.com/GangZhuo/baidupcs/issues/7