Rename `memoryBytesToString` and `memoryMegabytesToString`

These are used all over the place now and they are not specific to memory at all.

memoryBytesToString --> bytesToString
memoryMegabytesToString --> megabytesToString