Builds on #3590178. Formats the max file size into the largest sensible unit (bytes/KB/MB/GB/TB) so the validation error reads e.g. "Max size allowed is: 5 GB" instead of "5120 MB".