uptobox (upload): fix, upstream changed

Also minor restructuring to avoid pipe errors (141).
uptobox (download): fix/rewrite, upstream changed
uptobox (download): fix parsing of enforced wait time

regression introduced in 6d96cb52b3e45bfd364f8203170f92c9eefce9f8