Update BaseDatabase.php

Do not send output to /dev/null because on error the RuntimeException will be empty
Update BaseDatabase.php

Do not save compressed files in the source dir of files to compress
Merge pull request #7 from mikemeier/patch-1

Update BaseDatabase.php fix #6