Make eustore-install-image replace . with _

Fixes TOOLS-386
Close bundle writer's input pipe when it exits

Fixes TOOLS-335
Use unique names for eustore kernel/ramdisk images

Fixes TOOLS-387