Best Method? - Download Large Files to SD using Photon

This library looks like exactly what I'm trying to accomplish but it was written years ago before the Photon.

I tried to load the library in Particle DEV but get 16 compile errors, it's not using the new SD fat library with DMA either so I'm sure there is room for improvements.

Posting this here in case it's helpful in some way.