Bloody fucking hell graham

Modifying a variable that you initially passed as a parameter to the
function? Not Cool Mate.

Briefly: you're passing ``filename`` as a variable to upload_sstable(), but then are re-assigning it down to something else, causing all sorts of havok.