fix silly windows pathing issue (\ being a metachar)
Keep abs_path from dying

On Windows abs_path dies when canonizing paths that don't point to real files
"0" is not an acceptable encoding
encodings and binmodes are not mutually exclusive

This is not a great solution, but for now it's a useful bandaid.