Removed invalid implode on string input.
Fixed exit code logic.
Merge pull request #76 from Rarst/semver-fixes

Fixed file read and exit code in semver task