Remove bad debug path
Convert pathname to string to stop breaking open-uri's detection
Convert .box off properly on linux