Fix a nasty bug in handle_sideload that would try to `rename()` across streams