Convert ints to strings when using file.append in sls file
Fixed if statement to evaluate values, not indices
Merge pull request #12659 from rallytime/state_file_append

Convert ints to strings when using file.append in sls file