IStr toAssetsPath(IStr path)
Converts a path to one within the assets folder. Returns the path unchanged if it is absolute or asset paths are disabled.