api.put_bits,cli: fix uploads to folder-id