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

which is the way they are used. Nasty but easy fix to problem https://github.com/jdcasey/webdav-handler/issues/1