hostDomainGenerator: Fix the stripping of the temporary directory name

We didn't properly remove the name of the temporary directory in the generated
files which caused two generation from identical sources result in different
generated files.

We know the full name of the temporary directory so we can simply completly
remove it from the generated file.

Issue: GMINL-1953
Change-Id: I1f360cea249328d30318a24643b524c87424475e
Signed-off-by: David Wagner <david.wagner@intel.com>
Merge pull request #18 from Makohoek/tmp_dir_name_fix

hostDomainGenerator: Fix the stripping of the temporary directory name