Fix NULL pointer deref if opening file on volume that does not exist