Fix typo
Add logging statement
Add docstring
Fix unlink
Fix _tmplink (assumptions)

Don't assume /tmp is the same device!
Fix _tmplink (a different problem)