Use placement depth, not character id for file name

Fixes #21