replace 'size' with 'unencrypted_size' if encryption is enabled

Make sure that we replace the encrypted size with the unencrypted size in the share back-end.

This should fix #7106 
and maybe also #6217 

cc @PVince81