Update FileUtils.php

Had a problem where my project on Windows would think that the basedir was *always* the root of C:\. Traced the bug to a misused count() instead of strlen().