Small fixes: 5.5 support without warning and relative paths for sql file

Small fixes: PHP 5.5 support without warning and relative paths for sql file