revparse_single: add support for non ascii paths (#207)