Added mutex locking prevent errors if more than one copy of sp_sync_cr_with_filesystem runs at once for a single package instance, plus related changes. Changed sp_sync_cr_with_filesystem proc to a wrapper proc which now calls sp_sync_cr_with_filesystem_internal, in order to properly free the mutex upon any unexpected error.
Fixed sp_sync_cr_with_filesystem and the fs-scan-progress.tcl page so that the scan will properly continue after hitting an error on a single file, rather than terminating abruptly. Also tweaked sp_*_item output procs slightly.