For starters, never try to save in the application exe folder, or any folder below that. It works for development, but is fails in production, because the EXE is in a folder below "Program Files" which requires admin permissions to modify to prevent virus activity.
Instead, see here:
Where should I store my data?[
^] - it's in C#, but it's pretty obvioius what to do.