Added escape/unescape method

- These method are used by other modules to escape/unescape a string of
  special qualifiers in XML context
Fix io path in crate, so it works from all scopes.