Use ./tmp instead of $TMPDIR.

Requires use of `ln` to get a copy of the current directory.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>