Fix putchar to return sent character again