Fixed some issues with audio upload. The media type detection needs some work