FILE: fix retrieval of file contents when offset is specified