Fixed --self-contained with Windows paths.

Previously C:\foo.js was being wrongly interpreted as a URI.
Closes #1558.