Handle strings containing \0 in port program

Closes #2
1 file changed