Implement moveFile to move the generated index
Implement moveFile to move the generated index

os.Rename only works across the same mountpoint, since it creates a new hardlink and
unlinks the old one.
Since we generated the index in /tmp, which is most likely not the final endpoint, this
often does not work.

Fixes: #8
Signed-off-by: Patrick Uiterwijk <bd6d5394796bee9cca2245486eb583fd64b70226@redhat.com>

majst01/reg,majst01/reg,majst01/reg,majst01/reg