fixed map transform service and improved file handling

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Merge pull request #121 from kaikreuzer/maptransform-fix

fixed map transform service and improved file handling