Fixed mistake in vfs_write, FIFO writes should now work.