subprocess module raises OSError instead of IOError