affile: restart reader when the original file cannot be open

Signed-off-by: Budai Laszlo <lbudai@balabit.hu>
affile: PollEvents object can be invalidate during log_pipe_notify()
affile: missing forward declaration