Forked from https://github.com/google/cadvisor/blob/8016f8ba96e74fb2001b121e0145dc2d0fe056e3/utils/tail/tail.go to support simple file tailing.