fix escaping of ORIGIN between bash and python