Can also result in OSError

Signed-off-by: Stefan Marr <git@stefan-marr.de>