Swift 1.1b2: handle optional contentsOfURL