Fix importing textures from/to paths with whitespace