Add a failing test for long files starting with a dot (as seen in the wild)
Update to avoid "ArrayIndexOutOfBoundsException: Negative array index" for filenames starting with a dot