Use STDERR to write error message instead of STDOUT
Currently we return non-zero exit status and write message error to STDOUT, we need to write to STDERR instead.
Currently we return non-zero exit status and write message error to STDOUT, we need to write to STDERR instead.