It looks like you're missing a `#` in `"/tmp/{i}"`