iso9660 fs driver bugfix + code refactoring

Signed-off-by: Matt Madia <mattmadia@gmail.com>
Automatic whitespace cleanup. No functional change.

This push (ok, the previous changeset) fixes #9486.