Support output directry also for `psc`

The name of compiled file was always `psc.js`. With this PR, this could be changed.