make AndroidResourceUnit.{escape,unescape} staticmethod