Fixed file read and exit code in semver task

Fixes #66