Encode song URLs when inserting them into the database.  This was broken by revision 98dd001a.  Fixes issue #4127