scm: prevent PostgreSQL or Ruby 1.9 errors if paths is invalid UTF-8.
Authored by: tmaruyama 2011-04-16
Parent: [r5474]
Child: [r5476]