String Replace Last Character Python