don't use push with a ref

Close #4 again. Don't use push with an array ref, which is an
experimental feature.
fix filename capitalization

Closes #9. XML could not be parsed because file could not be found,
because the file name was incorrect. On Windows, which ignores case,
the filenames worked fine.