Hack to get around broken initWithContentsOfFile: in iOS 8