Fine-tuning with RAG for Improving LLM Learning of New Skills