Hi Miz
The wood shavings could be caused by termites or by degradation if the wood was treated badly (I'l not saying it's you^^)
You said your boat was only 5 years old so I dought it's degredation.
I treated my deck with anti-insect product but if you haven't, well under the planks there...