Star-forming filaments in warm dark matter models