Made io.open resolve paths relative to the current working directory. Closes #354.