oracle: fix crash on garbage file