Fix issue where $allowedFileTypes was an empty string instead of an array (modFileMediaSource)