ENH: Builds with ITKv4
BUG: Was giving a seg fault because it was trying to modify empty strings. Addition of a check for empty strings
ENH: Does not print non-printable characters