exists? handle numeric strings like stock rails

Hopefully this is an acceptable way to fix #414.  Happy to modify if you'd prefer something different.