Update file_system.c

write_block_map didn't work and wasn't compiling, so I rewrote it.