Women's wear retailer Bebe Stores has swung to a loss during its fourth quarter, after increased markdowns and higher costs weighed on sales and margins.