droplet-sh: use the fget/fput API from libdroplet