fix for text files in requirejs.