improve error handling of svn-clean-whitespace.sh