Fix mimetype bug

I found mime-type bug.
Default magic_file can't take cognizance of right mime-type.
So I added magic_file option.