pass cwd to repl if file is on disk

This enables relative import/require/etc. Closes #4