A function to get file sizes in multiple formats with curl.