storage: fail if file-descriptor is not open.