Modified FSL FLIRT interface to provide log support

In order that supporting logging for fdt_rotate_bvecs script,
the verbose output of FLIRT is saved to file if the save_log input
is provided.