code: def open_fastq(in_file):
      
      if objectstore.is_remote(in_file):
          return objectstore.open_file(in_file)
      else:
          return utils.open_gzipsafe(in_file)
docs: open a fastq file, using gzip if it is gzipped