Solution for exceptions.AttributeError for escape 

I was getting error : exceptions.AttributeError: TapeSite instance has no attribute '_escape' while running "tape -P /xmpp-httpbind=http://localhost:5290/xmpp-httpbind" 

Attached modifications in file for solution
Updated patch for escape problem

Updated patch for escape issue- used url escape in place of regex escape
Merge pull request #7 from pankajkumar/patch-1

Solution for exceptions.AttributeError for escape