Use g_file_move() and g_file_copy()

Hopefully this will actually simplify things.