Make open() temp-directory insensitive

Fix lingering problems from #101 - open() can now find main sketch files even if it's running from a temp directory.