Add file type to file transfer messages

SPAs want these so they know what the type is.