pure ruby way when moving files