Put old beam files back if compilation fails