ReadFileImgTable: Created valid file suffixes

before, always one letter from the file suffix was cut away. fixed bug
ReadFileImgTable: Replace " " in URLs with "%20"

Before we got a bad request if there was an empty space in the URL