properly escapes single quotes in batman binds