[server] Add 0644 to file mode when upload/update from web.
Don't download history commit and fs objects.