Sanitize linked resource urls. Fixes ndlib/curate#133