Fixing issue where asset paths were not being properly escaped.