Nathanael Greene, Quartermaster General