unix line endings
remove memory allocation and branch in StackPopString()