Bug fix with QString Error

Added string type conversions to some path variables, which were returning a TypeError.