Eh I lied, work is being boring today. I tried fixing the casing and testing both of them individually. It still crashes clients with either of them for some reason. I am wondering what is going on in OC_Filesystem::getMimeType. I assume $song has only safe values.