File test fix
Skip ttys, block and character special files