Replace garbage with a real exception.
Don't link Files.cmake into binary directory. Closes #806.