Implemented PoC support for file sync wait, when syncying huge files. It will slow down file syncing by 1 second, but it will make sure that file isn't truncated.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>