Texture loader update

should support paths that have some invalid chars