Convert a directory into a floppy image. Based off code from veewee and fat32-lib wiki.