Added mp3 mimetype
fixed PHP 5.2 compatibility