Better file existence check.

Remove query and hash from the URI before using it as file name.
Merge pull request #100 from Zegnat/relativity-patch

Improving url() compatibility with local files.