Switch to using Flay as library directly rather than shelling out

per https://github.com/seattlerb/flay/blob/master/bin/flay