Remove a trailing period