in reply to Query regarding 'Tie' file

Can anybody suggest what is the problem in original scenario & how increasing the buffer size to 4Mib fixed this problem?
You haven't proven that to be the case (show code that demonstrates the problem). Anyway, \n\n doesn't make sense, since \n is the default line separator, and that might be causing you problems.