Normalize resource path before creating app

This ensures the drive letter case is consistent with the format
used by require.