changed the filepath#toUri call to #getRemote as per comment of @jglick