Added check to stderr.on('end') event to ensure no false positives.
Replaced if-expression with normal if-statement.
Bumped version number.