Harrogate man fined for damaging train