Added .gitignore for *~ files.
Added current dir to exception message.