Added an RPC function for creating new psafe files and then loading them