You might want to do what I do. I have mounted stuff all over the place in our trailer including exactly what you want to do, but I use a backing plate glued to the wall.
All of our trim is oak, so I use a piece of oak and route the edges to match the original stuff that came with the trailer. I also stain and polyurthane it to match.
Then I use brass screws just long enough so that they go through the backing plate and have about a 1/16" on ther back side.
I then cover the back with glue, (either gorilla or Elmers), and then force the screws into the wall. All these screws do is act like a clamp until the glue hardens. Then I screw my rack or whatever to that.
I am now on our second trailer where I use this method, and I have never had any of the many that I have done come off, and I have never had to worry about hitting wires.
Plus the backing plate adds a lot of nice finish.
Jack L