Partially fix writes of variable length strings