fix for the mktemp wrapper

The mktemp wrapper had a bug where if used on a path in
FAKECHROOT_EXCLUDE_PATHS it would attempt to free a stack pointer.