Fixes string substraction in interactive mode

Bytes were subtracted from strings (`file` and `rank`). This commit converts the coordinate string elements to byte values before subtracting them.