fix bug in rc input text file processing
if no file is initialized it attemps to get offset for handle=0
correct attempt to get file offset only for real file