Change error messages in sharesec util to go to stderr instead of stdout