Fix integration/test_contrib testcases to cleanup links in /tmp

This fixes the travis-ci integration tests.