made interface for FAT more uniform and fixed a bug in mkFlatFAT that caused segfaults because non-existing files would be opened only for reading