update src `fclose ftell fgets` and module's syscall error handle