Fixed BZ#1092202 - NPE when trying to create a langauge image/file without any data.