Stochastic thermodynamics of fractional Brownian motion