Ensure that asset path is a string

I ran into problems when asset paths are given as symbols. This fixes that.