Removed replace keyword in str.decode for Python 2.6