Hopefully make dropfile path detection work accross all platforms