Fixed writeSteam for the Dropbox adapter.