Instead of Thermal compound you can also put some tape on top of the LM317's metal outside. If you used a smaller version of the LM317 that doesn't have the metal plate sticking out, you don't have to do a thing at all. Just make sure the metal outside of the LM317 does not touch the metal plate of the PSTwo.