feat: expose __dirname and __filename globalsFixes

Fixes #27

Closes #28