A method for gold coating experimental detector beampipes