Normalize resource path in AtomWindow constructor