Making some changes in save task to get a real line buffer (bis).