Makefile: initialize dump and log files and then chown

Signed-off-by: Rohit Yadav <rohit.yadav@wingify.com>