Transform app url to file url in app protocol handler

Fix #990; Or the host name will be treated as network share host name