Fixing HTML5FS error messages.

Also fixing a test that tested sync functionality on async file systems. Whoops.