Fixed bwtio.c functions for I/O. Changed type of sa_intv from int to bwtint_t.