Just run into this issue myself, this question was a while ago I know but worth posting the answer.
When uploading the .cfg file you have to package it in a suitable format like .tar or .zip. As long as the .cfg file is contained within that zipped format it will take it and do the conversion.