[kqueue] Fixed segfault on huge file list

Tester: Artjom A Anikeev <anikeev@ut.mephi.ru>
Merge branch 'master' of https://github.com/xaionaro/clsync