Fix egregious pathchar business in linker_unload.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>