Helper for saving in the PSB format in Photoshop

Added a function on the photoshop module that allows to save either PSB or PSD files while preserving the compatibility settings.