Fix strlen vs sizeof usage in a few spots.