Netlify changed their handling of functions, specifically around __dirname. Files affected: ./functions/gen-opengraph-image/gen-opengraph-image.js