// we must call FileBackedOutputStream.reset to remove temporary file
return new FilterInputStream(out.asByteSource().openStream()) {
@Override
public void close() throws IOException {
super.close();
out.reset();
}
};
} catch (IOException e) {
throw new RuntimeException("Error tapping line", e);
} finally {