Fix issues with asset serving

* Add leading slash to file paths
* Handle file paths that are also valid URIs