rhodes: read file correctly, do not add \0 to the end of read string