fixed symlink file check
Merge pull request #6 from tokuhirom/fix-file-check

fixed symlink file check