[filegen.go] Number of lines generated fixed

I was using the bufio package from go and I made the
mistake of not flushing out my output.