config: use proper file:// URL to load config module
fix require() calls that were using absolute file paths rather than URLs