Fixed __filename, __dirname in module context