Version 1.0.9 + fixes

Sed is not working without explicitly creating temp file somewhere.
Simple sed -i fails because of limited permissions. Cat is simplier.