add KristianOellegaard's fix for allowing support for alternative storage engines for static files