Handle non-initialised case, fix for is_writable always returning false on nonexistent file

Derp...  Good catch!