Bugfix. v.0.4.1

Tmp files renamed with mktemp