2524 formatter format file size

adds asSize method to the base formatter to format file size with a string representation. using asNumber to format the actual number