Snapshot always return success message in \VisualPHPUnit\app\controller\Home.php

<code>realpath()</code> returned empty string & <code>fopen()</code> returned resource even if snapshot directory doesn't exists.
Modified realpath & added directory check.