[client] Skip file chunking errors.

Error on chunking a single file should not stop syncing.
Also ignores all files with pattern "~$*".