don't crash on failed download

Currently, a user can crash the server by telling it to import a song from a URL such as "http://nonexistent.example.com". This patch handles the error and prevents the crash.