use file instead of mount command to check the filesystem

The option --guess-fstype of the utility *mount* has been removed in
recent versions of util-linux
Merge pull request #3 from mbornoz/fscheck

use file instead of mount command to check the filesystem