Fixes to filesystem demo, mainly due to byte-swapping bug.