Bugs in blocks.c and filesystem.c corrected. New blocks should now be
correctly assigned to files.