Append some null bytes to the end of the file (to increase its size), then
attach it to the VM as a CD image (ISO). In the VM, if you read the raw
contents of the CD ROM device, you get the file.