Fix backup script to work with Mac OS

split needs 'm' instead of 'M' for the file size, and doesn't
recognise the -d option.

Change-Id: Iaca14033859e1463e37c31ebc5c31e828cb83c16