Mimic dmd's behaviour w.r.t. source paths.

Basically, object files are produced in the current directory with path
stripped unless -op is given.