pytasty cleanup uri before use.