Turn Byte Array Into String Python Replace Substring