Make path to source files relative

Tested with many combinations in browser. :okhand:.

Doesn't normalize Windows paths yet. Putting up for review but want to add that before merge.