Strip surrounding quotes before normalising path. Fixed data-uri being normalised because checking logic is wrong.