Update CMAKELIST to copy CrystalMaps directory

The CrystalMaps directory was not being correctly copied over to the build directory. 

Also, the ROOT file writing was breaking at the end of run, because the function "write" does not exist.