singleupload: use the file basename, not full path, as the dataset name

Thanks to @sr320 for finding and identifying the bug.

Close #10.

Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>
uploadone: warn on empty file

Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>