Revert "Replace String index juggling with Pathname goodness in db:fixtures:load"

This reverts commit 482fdad5ef8a73688b50bba3991dd4ef6f286edd.

Fixes #17237.
Add comment to point out String#[] is intentional