make Rio work when TMPDIR does not end with a trailing slash
Merge pull request #23 from royseto/fix-rio-tmpdir

make Rio work when TMPDIR does not end with a trailing slash