Python Add Character To End Of String If Not Present