Ensure we don't bring the '-l fucks up nbd-server' bug again, by adding it to the test suite
Add a template to mktemp invocation

Not all mktemp implementations (e.g., the FreeBSD one) have an implicit
template. Add one explicitly so things will work properly again.