Change toString so that enum's print error code by default

which is the way they are used. Nasty by effective solution to problem https://github.com/jdcasey/webdav-handler/issues/1