Update the fileExists method

The ftp_nlist returns an empty array in case no matching files were found.
Using is_array() will return always true even on an empty array.
But an empty array is considered as a false value, so just cast the ftp_nlist() result to boolean
Merge pull request #2 from webArtisan/master

Update the fileExists method