Csync: Add hook for checking if a file is in use already