Add fallback for malformed code source urls

This is to handle URLs that don't have encoded spaces or other special characters.

This should work for cases where something like the deprecated `File.toURL` is used, where no escaping is done:
http://docs.oracle.com/javase/6/docs/api/java/io/File.html#toURL()

Fixes #49