Deprecation warning when using old RakeTask initialize format
RakeTasks::Doc, do not write to file if outfile is nil
nil rake_tasks output_file

This has been done to pass the travis ci tests until I smarter way of
creating these temporary files is found.