Usually, that should work, but I think some server configurations can mess with the current directory. Please either check the server error log or use the fatalsToBrowser construct to see what is really going wrong. Don't leave us (and yourself) guessing.