little fix for downloading music

This wasnt working for me, debug.log was reporting: end of file reached and the application crashed.