fix GitHub bug #8 (file name missing a . when directory has one)

git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@5533 63c20433-aa62-49bd-875c-5a186b69a8fb