Generate stable etags for local files

Generate etag for local files based on mtime, inode, device number and other information returned by `stat`

prevents the sync client from having to re-download files in case of cache inconsitencies.

cc @DeepDiver1975 @PVince81
do we get enough information on all platforms? thinking about Windows especialls?