Parallels errors while creating floppy disk GH-1225

Patch applied with modifications - tests updated to pass.
Merge pull request #1278 from rickard-von-essen/issue_1225

Parallels errors while creating floppy disk GH-1225