We're writing down metadata now.
Correct creation of the partition file with open and O_RDWR. A couple more checks implemented.