Accept an IO instead of a file path in sandbox upload.