ignore hidden files on UNIX
add overflow checks before modifying direct jumps