Skateboarder almost hit by car after rail trick