api#version/get: decode the magic version number
api#folder/get: clean up
api: encode #_dir before parsing to #__curl
api#key/get: use the official output format of #btsync