remove blank space at the end of line for mod_io.c