Move all file:// support to FileStreamWrapper to fix is_dir, etc.

This makes file:// no longer a special case in ext_file.