After finishing the epoxy and rivet insertion, I realized I've made a mistake: initially I was planning on extruding the rivets, but while inserting them I also added a small amount of epoxy to the body of the rivets. However, I left the part to cure and then realized that pulling on the rivets might damage the frame. Now, I have to get rid of the rivet posts (the part that's normally cut). Space being really tight, I'm going to use a small rotary tool to grind away the posts.
If I would've thought of this before gluing the rivets in, I could've cut them before insertion.