bindata reader: return nil instead of error reading int at end of input
Set line_number on script_function