Move AppleDouble utility from web to core