Turns out an old bug with Filezilla that's never been fixed and certain FTP servers will cause file contents to be swapped when uploaded via multiple connections. So the contents of your file.xml can end up in file.aspx

Re-uploading everything using a single connection (slow!) fixed the issue!