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
This change is not used on windows