Fixes a bug that ignored any overridden path for assets/error-404.html etc
Merge pull request #3489 from markguinn/patch-error-path

Fixes a bug that ignored any overridden path for assets/error-404.html (etc)