Make the frontend put CHDs in the appropriate directory.  Addesses #179.